//
//  LSZBasicInformationTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2018/8/29.
//  Copyright © 2018年 LC. All rights reserved.
//

#import "LSZBasicInformationTableViewCell.h"

@implementation LSZBasicInformationTableViewCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        CGFloat height = [LSZSpecialPackaging initWithReturnsthesizeOf:50 :5];
 
        self.labelTitleType = [[UILabel alloc]init];
        self.labelTitleType.textColor = titleColorLSZ;
        self.labelTitleType.frame = CGRectMake(15, 10, 140, height-20);
        [LSZSpecialPackaging setLabelAdaptiveSize:self.labelTitleType font:13.5];
        [self addSubview:self.labelTitleType];

        self.textFieldContent = [[UITextField alloc]init];
        self.textFieldContent.font = FONT_(13.5);
        self.textFieldContent.textColor = titleColorLSZ;
        self.textFieldContent.returnKeyType = UIReturnKeyDone;//改变为完成键，如果在项目中导入了YYText框架那么原生的就被替换掉了，变为returnKeyType = UIKeyboardTypeTwitter;
        self.textFieldContent.frame = CGRectMake(CGRectGetMaxX(self.labelTitleType.frame), 10, ScreenWidth-10-CGRectGetMaxX(self.labelTitleType.frame), height-20);
        [self addSubview:self.textFieldContent];

        self.labelContent = [[UILabel alloc]init];
        self.labelContent.textColor = titleColorLSZ;
        self.labelContent.frame = CGRectMake(CGRectGetMaxX(self.labelContent.frame), 10, ScreenWidth-10-CGRectGetMaxX(self.labelContent.frame), height-20);
        [LSZSpecialPackaging setLabelAdaptiveSize:self.labelContent font:13.5];
        [self addSubview:self.labelContent];

    }
    return self;
}

@end
